package com.xcity.pomelo.response;

import com.xcity.game.shop.ShopType;
import com.xcity.pomelo.response.ShopV2Response.ShopItemV2;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class ShopBuyV2Response extends Response {
	
	public ShopType type;
	public String id;
	public int availableCount;

	public ShopBuyV2Response(int serial, ShopType type, String id) {
		this(serial, type, id, ShopItemV2.AVAILABLE_ENOUGH);
	}
	
	public ShopBuyV2Response(int serial, ShopType type, String id, int availableCount) {
		super(serial);
		this.type = type;
		this.id = id;
		this.availableCount = availableCount;
	}

}
